<script setup lang="ts">
import axios from 'axios';
import { onMounted } from 'vue';

onMounted(async () => {
  try {
    const response = await axios.get('http://192.168.0.101:4011/api/accounts?active=true');
    console.log('Fetched data:', response.data);
  } catch (error) {
    console.error('Error fetching data:', error);
  }
});
</script>

<template>
  <div class="demo-page">demo</div>
</template>

<style lang="scss" scoped></style>
